<?php
namespace app\common\middleware;

/**
 * 后端路由
 */
class IsAdminRoute
{
    public function handle($request, \Closure $next)
    {
    	// 定义为后端路由
        $request->isAdminRoute = true;
        
        return $next($request);
    }
}
